package com.chen.hotel.dao;

import com.chen.hotel.domain.Users;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UsersDao extends JpaRepository<Users, Integer> {
    // 根据用户名查询用户
    Users findByUsernameAndPassword(String username, String password);
}
